package com.bocai.yuweiwangluo.bean;

import java.util.ArrayList;

/**
 * Created by admin on 2015/12/16.
 */
public class BBSHomeBean {
    /**
     * {
     "banner":
     [
     {"pic":"\/upload\/pic\/1449209547_5270.jpg"},
     {"pic":"\/upload\/pic\/1449209554_1410.jpg"},
     {"pic":"\/upload\/pic\/1451106070_4429.jpg"}
     ],
     "type":
     [
     {"id":"1","title":"\u8db3\u7403"},
     {"id":"2","title":"\u7bee\u7403"},
     {"id":"3","title":"\u7fbd\u6bdb\u7403"},
     {"id":"4","title":"\u7f51\u7403"}
     ],
     "data":
     [
     {"id":"1","type_id":"1","title":"\u7b2c\u4e00\u6761\u4e3b\u9898",
     "content":"\u8db3\u7403\u4ff1\u4e50\u90e8","timeline":"1451961043",
     "usr_id":"1","nickname":"\u675c\u5b89\u5a1c","icon":"\/upload\/icon\/1451195562_2404.png","reply_count":"1"}
     ]
     }

     */
    private ArrayList<Pic> banner;
    private ArrayList<Type> type;
    private ArrayList<Data> data;

    public ArrayList<Pic> getBanner() {
        return banner;
    }

    public void setBanner(ArrayList<Pic> banner) {
        this.banner = banner;
    }

    public ArrayList<Type> getType() {
        return type;
    }

    public void setType(ArrayList<Type> type) {
        this.type = type;
    }

    public ArrayList<Data> getData() {
        return data;
    }

    public void setData(ArrayList<Data> data) {
        this.data = data;
    }

    public static class Pic{
        private String pic;
        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }
    }
    public static class Type{
        private String id;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
    public static class Data{
        private String id;
        private String type_id;
        private String title;
        private String content;
        private String timeline;
        private String usr_id;
        private String nickname;
        private String icon;
        private String reply_count;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTimeline() {
            return timeline;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public String getUsr_id() {
            return usr_id;
        }

        public void setUsr_id(String usr_id) {
            this.usr_id = usr_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getReply_count() {
            return reply_count;
        }

        public void setReply_count(String reply_count) {
            this.reply_count = reply_count;
        }
    }
}
